package com.wu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wu.pojo.FriendLink;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: 吴磊
 * @program: blog
 * @create: 2021-04-27 18:59
 */
@Mapper
public interface FriendLinkMapper extends BaseMapper<FriendLink> {

    /**
     * 获取所有的友情链接
     *
     * @return
     */
    List<FriendLink> getAllFriendLink();

    /**
     * 插入友情链接
     *
     * @param friendLink
     * @return
     */
    Integer insertLink(FriendLink friendLink);
}
